    <% for post in posts -%>
        <div class="sum">
            <%= render :partial => 'shared/userLittleImage', :object =>post.user%>
            <h3><%= admin_post_path(post)%></h3>
            <div class="sum-d">
                <span class="action-d">
                来自 <%= link_to "#{post.user.display_name}", admin_user_path(post.user.login) %> <%= post_parent_path(post)%>
                <% if post.class == CommonPost -%>
                    <%= post.voteuseful_count%>/<%= post.voteuseful_count + post.voteuseless_count%>的人觉得有用
                <% end -%>
                <%= post.replies.size%>个回复
                <% if post.class == CommonPost && !post.user.community.nil? -%>
                    <%= link_to "#{post.community.title}", admin_community_path(post.community.district, post.community) %>
                <% end -%>
                </span>
                - <%=local_date post.created_at%>
            </div>
        </div>
    <% end -%>
    
    <% if !@posts.nil? -%>
        <%= will_paginate @posts %>
    <% end -%>